package LJ;

public class Book {
    private String author;
    private String bookname;
    private int pri;
    private String type;
    private boolean jiechu=false;
    public Book(String author, String bookname, int pri, String type){
        this.author=author;
        this.bookname=bookname;
        this.pri=pri;
        this.type=type;
    }
//
    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getBookname() {
        return bookname;
    }

    public void setBookname(String bookname) {
        this.bookname = bookname;
    }

    public int getPri() {
        return pri;
    }

    public void setPri(int pri) {
        this.pri = pri;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public boolean isJiechu() {
        return jiechu;
    }

    public void setJiechu(boolean jiechu) {
        this.jiechu = jiechu;
    }
}
